package com.china.produce.netty.learning.message;

import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper=true)
public class QuitMemberRequestMessage extends Message{

    private String username;

    public QuitMemberRequestMessage(String username) {
        this.username = username;
    }

    @Override
    public int getMessageType() {
        return QuitMemberRequestMessage;
    }
}